<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/particle_dynamics/solid_dynamics/thin_structure_math.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_05f659066ce4fa1dc9c19bd298f55a53.html">particle_dynamics</a></li><li class="navelem"><a class="el" href="dir_7195eba4309c1334c83090581898beba.html">solid_dynamics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">thin_structure_math.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="thin__structure__math_8h_source.html">thin_structure_math.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_s_p_h"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_s_p_h.html">SPH</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a25a33ee7e23ffafa90ab86955c394f90"><td class="memItemLeft" align="right" valign="top">Vec2d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="thin__structure__math_8cpp.html#a25a33ee7e23ffafa90ab86955c394f90">SPH::thin_structure_dynamics::getVectorAfterThinStructureRotation</a> (const Vec2d &amp;initial_vector, const Vec2d &amp;rotation_angles)</td></tr>
<tr class="memdesc:a25a33ee7e23ffafa90ab86955c394f90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Each of these basic vector rotations appears counterclockwise.  <a href="thin__structure__math_8cpp.html#a25a33ee7e23ffafa90ab86955c394f90">More...</a><br /></td></tr>
<tr class="separator:a25a33ee7e23ffafa90ab86955c394f90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef8c7db2afd1bc1f827bd6bf67a2cd2b"><td class="memItemLeft" align="right" valign="top">Vec3d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="thin__structure__math_8cpp.html#aef8c7db2afd1bc1f827bd6bf67a2cd2b">SPH::thin_structure_dynamics::getVectorAfterThinStructureRotation</a> (const Vec3d &amp;initial_vector, const Vec3d &amp;rotation_angles)</td></tr>
<tr class="separator:aef8c7db2afd1bc1f827bd6bf67a2cd2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a367237431bca151646b6c5c810be8682"><td class="memItemLeft" align="right" valign="top">Vec2d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="thin__structure__math_8cpp.html#a367237431bca151646b6c5c810be8682">SPH::thin_structure_dynamics::getVectorChangeRateAfterThinStructureRotation</a> (const Vec2d &amp;initial_vector, const Vec2d &amp;rotation_angles, const Vec2d &amp;angular_vel)</td></tr>
<tr class="separator:a367237431bca151646b6c5c810be8682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48ab0cead05dd6e6d2b2383b81a445b"><td class="memItemLeft" align="right" valign="top">Vec3d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="thin__structure__math_8cpp.html#ad48ab0cead05dd6e6d2b2383b81a445b">SPH::thin_structure_dynamics::getVectorChangeRateAfterThinStructureRotation</a> (const Vec3d &amp;initial_vector, const Vec3d &amp;rotation_angles, const Vec3d &amp;angular_vel)</td></tr>
<tr class="separator:ad48ab0cead05dd6e6d2b2383b81a445b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a847ef493258bf8a8adb5cc0c39255946"><td class="memItemLeft" align="right" valign="top"><a id="a847ef493258bf8a8adb5cc0c39255946"></a>
<a class="el" href="class_vecd.html">Vecd</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SPH::thin_structure_dynamics::getRotationFromPseudoNormalForFiniteDeformation</b> (const Vec2d &amp;dpseudo_n_d2t, const Vec2d &amp;rotation, const Vec2d &amp;angular_vel, <a class="el" href="class_real.html">Real</a> dt)</td></tr>
<tr class="separator:a847ef493258bf8a8adb5cc0c39255946"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f132d3c9626a0de31180e2cb3009f58"><td class="memItemLeft" align="right" valign="top"><a id="a3f132d3c9626a0de31180e2cb3009f58"></a>
<a class="el" href="class_vecd.html">Vecd</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SPH::thin_structure_dynamics::getRotationFromPseudoNormalForFiniteDeformation</b> (const Vec3d &amp;dpseudo_n_d2t, const Vec3d &amp;rotation, const Vec3d &amp;angular_vel, <a class="el" href="class_real.html">Real</a> dt)</td></tr>
<tr class="separator:a3f132d3c9626a0de31180e2cb3009f58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36144053e8161ed83a8876adaa6fffc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vecd.html">Vecd</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="thin__structure__math_8cpp.html#af36144053e8161ed83a8876adaa6fffc">SPH::thin_structure_dynamics::getRotationFromPseudoNormalForSmallDeformation</a> (const Vec2d &amp;dpseudo_n_d2t, const Vec2d &amp;rotation, const Vec2d &amp;angular_vel, <a class="el" href="class_real.html">Real</a> dt)</td></tr>
<tr class="separator:af36144053e8161ed83a8876adaa6fffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af69c484a8e14b4652b1d6408a573a63b"><td class="memItemLeft" align="right" valign="top"><a id="af69c484a8e14b4652b1d6408a573a63b"></a>
<a class="el" href="class_vecd.html">Vecd</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SPH::thin_structure_dynamics::getRotationFromPseudoNormalForSmallDeformation</b> (const Vec3d &amp;dpseudo_n_d2t, const Vec3d &amp;rotation, const Vec3d &amp;angular_vel, <a class="el" href="class_real.html">Real</a> dt)</td></tr>
<tr class="separator:af69c484a8e14b4652b1d6408a573a63b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Dong Wu, Chi ZHang and Xiangyu Hu </dd></dl>
<dl class="section version"><dt>Version</dt><dd>0.1 </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="af36144053e8161ed83a8876adaa6fffc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af36144053e8161ed83a8876adaa6fffc">&#9670;&nbsp;</a></span>getRotationFromPseudoNormalForSmallDeformation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vecd.html">Vecd</a> SPH::thin_structure_dynamics::getRotationFromPseudoNormalForSmallDeformation </td>
          <td>(</td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>dpseudo_n_d2t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>rotation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>angular_vel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>dt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>get the rotation from pseudo-normal for small deformation. </p>

</div>
</div>
<a id="a25a33ee7e23ffafa90ab86955c394f90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25a33ee7e23ffafa90ab86955c394f90">&#9670;&nbsp;</a></span>getVectorAfterThinStructureRotation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vec2d SPH::thin_structure_dynamics::getVectorAfterThinStructureRotation </td>
          <td>(</td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>initial_vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>rotation_angles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Each of these basic vector rotations appears counterclockwise. </p>
<p>@function getVectorAfterThinStructureRotation</p>
<p>when the axis about which they occur points toward the observer,</p>
<p>and the coordinate system is right-handed. </p>
<p>The rotation matrix.</p>

</div>
</div>
<a id="aef8c7db2afd1bc1f827bd6bf67a2cd2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef8c7db2afd1bc1f827bd6bf67a2cd2b">&#9670;&nbsp;</a></span>getVectorAfterThinStructureRotation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vec3d SPH::thin_structure_dynamics::getVectorAfterThinStructureRotation </td>
          <td>(</td>
          <td class="paramtype">const Vec3d &amp;&#160;</td>
          <td class="paramname"><em>initial_vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec3d &amp;&#160;</td>
          <td class="paramname"><em>rotation_angles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The rotation matrix about the X-axis.</p>
<p>The rotation matrix about the Y-axis.</p>

</div>
</div>
<a id="a367237431bca151646b6c5c810be8682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a367237431bca151646b6c5c810be8682">&#9670;&nbsp;</a></span>getVectorChangeRateAfterThinStructureRotation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vec2d SPH::thin_structure_dynamics::getVectorChangeRateAfterThinStructureRotation </td>
          <td>(</td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>initial_vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>rotation_angles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec2d &amp;&#160;</td>
          <td class="paramname"><em>angular_vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Vector change rate after rotation. </p>
<p>The derivative of the rotation matrix.</p>

</div>
</div>
<a id="ad48ab0cead05dd6e6d2b2383b81a445b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad48ab0cead05dd6e6d2b2383b81a445b">&#9670;&nbsp;</a></span>getVectorChangeRateAfterThinStructureRotation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vec3d SPH::thin_structure_dynamics::getVectorChangeRateAfterThinStructureRotation </td>
          <td>(</td>
          <td class="paramtype">const Vec3d &amp;&#160;</td>
          <td class="paramname"><em>initial_vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec3d &amp;&#160;</td>
          <td class="paramname"><em>rotation_angles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Vec3d &amp;&#160;</td>
          <td class="paramname"><em>angular_vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The rotation matrix about the X-axis.</p>
<p>The rotation matrix about the Y-axis.</p>
<p>The derivative of the rotation matrix of the X-axis.</p>
<p>The derivative of the rotation matrix of the Y-axis.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
